const Mock = require('mockjs')

Mock.Random.extend({
  phone: function() {
    var phonePrefixs = ['132', '135', '189']
    return this.pick(phonePrefixs) + Mock.mock(/\d{8}/)
  }
})
